#ifndef GRAPHDAILY_H
#define GRAPHDAILY_H

#include"expdaily.h"
#include <QMainWindow>
#include<QtSql/QSqlDatabase>

namespace Ui {
    class GraphDaily;
}

class GraphDaily : public QMainWindow
{
    Q_OBJECT

public:
    explicit GraphDaily(QDate dt,QWidget *parent = 0);
    ~GraphDaily();

private:
    Ui::GraphDaily *ui;
    QDate date;
    QSqlDatabase db;
    void plotGraph();
private slots:
    void back();
};

#endif // GRAPHDAILY_H
